﻿#include "infoperson.h"

personInfo::personInfo()
{

}

void personInfo::setInfo(QString name, QString id)
{
        this->name=name;
        this->id=id;
}

QString personInfo::getName() const
{
    return this->name;
}

QString personInfo::getId() const
{
    return this->id;
}

personInfo *personInfo::next()
{
    return (this+1);
}
